package sjtu.sonnet.LDAPModule.service;

import java.util.Hashtable;

import javax.naming.directory.DirContext;

public interface LDAPBean {
	public void setCtx(DirContext ctx);

	public DirContext getCtx();

	public void setEnv(Hashtable<Object, Object> env);

	public Hashtable<Object, Object> getEnv();

	public void setBaseDN(String baseDN);

	public String getBaseDN();

	public void setProviderUrl(String port);

	public String getProviderUrl();

	public void setContextFactory(String contextFactory);

	public String getContextFactory();

	public void setSecurityAuthentication(String securityAuthentication);

	public String getSecurityAuthentication();

	public void setSecurityPrincipal(String securityPrincipal);

	public String getSecurityPrincipal();

	public void setSecurityCredential(String securityCredential);

	public String getSecurityCredential();

	public void LDAPInit();
}
